import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import './element-css/index.css';// 2.3、引入ElementUI的自定义的主题样式
// import './styles/index.less'

import installElementPlus from './plugins/element'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const Element = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    Element.component(key, component)
}

const app = createApp(App)
installElementPlus(app)
app.use(store).use(router).mount('#app');